package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 order_info
 *
 * @author ruoyi
 * @date 2021-10-09
 */
public class OrderInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 原订单号 */
    @Excel(name = "原订单号")
    private String orderNo;

    /** 原订单总价 */
    @Excel(name = "原订单总价")
    private BigDecimal totalPrice;

    /** pnr */
    @Excel(name = "pnr")
    private String pnr;

    /** 采购订单号 */
    @Excel(name = "采购订单号")
    private String outerOrderNo;

    /** 采购订单总价 */
    @Excel(name = "采购订单总价")
    private BigDecimal outerTotalPrice;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setPnr(String pnr)
    {
        this.pnr = pnr;
    }

    public String getPnr()
    {
        return pnr;
    }
    public void setOuterOrderNo(String outerOrderNo)
    {
        this.outerOrderNo = outerOrderNo;
    }

    public String getOuterOrderNo()
    {
        return outerOrderNo;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getOuterTotalPrice() {
        return outerTotalPrice;
    }

    public void setOuterTotalPrice(BigDecimal outerTotalPrice) {
        this.outerTotalPrice = outerTotalPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNo", getOrderNo())
            .append("pnr", getPnr())
            .append("outerOrderNo", getOuterOrderNo())
            .toString();
    }
}
